<div xmlns:th="http://www.thymeleaf.org">
    <div th:if="${pageInfo != null && pageInfo.list.size() != 0}">
        <table class="table table-striped mt-3">
            <thead>
            <tr>
                <th>试题标题</th>
                <th>试题类型</th>
                <th>试题级别</th>
                <th>所属部门</th>
                <th>是否启用</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="wor:${pageInfo.list}" th:attr="id=${wor.id}" >
                <td th:text="${wor.title}"></td>
                <td th:text="${wor.typeName}"></td>
                <td th:text="${wor.rankName}"></td>
                <td th:text="${wor.fullName}"></td>
                <td>
                    <input style="position:static;" type="checkbox" name="isStart" th:if="${wor.is_Start} eq 1" value="1" checked/>
                    <input style="position:static;" type="checkbox" name="isStart" th:if="${wor.is_Start} eq 0" value="0"/>
                </td>
                <td>
                    <a href="javascript:;" th:onclick="'javascript:del('+${wor.id}+');'" class="delete">删除</a>
                    <a th:href="@{'/sys/wor/update?id='+${wor.id}}">修改</a>
                </td>
            </tr>
            </tbody>
        </table>
        <div th:replace="common/comm :: #page"></div>
    </div>
    <div th:if="${pageInfo == null || pageInfo.list.size() == 0}">
        暂时没有记录.....
    </div>
</div>